<?php
/**
* Template designed by 12leaves.com
* 12leaves.com - Free ecommerce templates and design services
* 
* @package templateSystem
* @copyright Copyright 2008-2009 12leaves.com
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_search_header.php 4142 2006-08-15 04:32:54Z drbyte $
*/
  $content = "";
  $content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get','class="search"');
  $content .= zen_draw_hidden_field('main_page',FILENAME_ADVANCED_SEARCH_RESULT);
  $content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();

  /*
  $content .= '<div class="search-header-input">'
          . zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') 
          . '</div><input class="button-search-header" type="image" src="' . $template->get_template_dir('', DIR_WS_TEMPLATE, $current_page_base,'images') . '/search_header_button.gif' . '" value="Serch" />' 
          /*. zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON)*/;

  //$content .= '<form class="search">';
  $content .= zen_draw_input_field('keyword', '请输入关键字或款号', 'class="ipt_key" size="28" maxlength="30"  onfocus="if (this.value != \'\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'请输入关键字或款号\';"');
  //$content .= '<input class="ipt_key" type="text" value="请输入关键字或款号" onfocus="RemoveFormatString(this, \'' . KEYWORD_FORMAT_STRING . '\')" />';
  $content .= '<input class="btn_search" type="submit" value="" />';
  
  $content .= "</form>";
  echo($content);
?>
